package org.wsdx.Entity;

import java.io.Serializable;
import java.util.Date;
/**
 * 订单类
 * @author 1020429932
 *
 */
public class Order implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String id;
	private Date orderOverTime;//订单生成时间
	private User user;//用户
	private ShopCar shopCar;//购物车
	public boolean isLogin(){
		return false;		
	}
	public boolean creatOrder(){
		return false;		
	}
	public boolean cancleOrder(){
		return false;		
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Date getOrderOverTime() {
		return orderOverTime;
	}
	public void setOrderOverTime(Date orderOverTime) {
		this.orderOverTime = orderOverTime;
	}
	public User getUser() {
		return user;
	}
	public void setUser(User user) {
		this.user = user;
	}
	public ShopCar getShopCar() {
		return shopCar;
	}
	public void setShopCar(ShopCar shopCar) {
		this.shopCar = shopCar;
	}
	
}
